var htmlWebpackPlugin=require("html-webpack-plugin");
module.exports={
	entry:{
		hello:"./hello.js",
		a:"./a.js"
	},
	output:{
		path:"./dist/js",
		filename:"[name]-[chunkhash].js"
	},
	plugins:[
		new htmlWebpackPlugin({
			filename:'index.html',
			template:"index.html",
			title:'webpack is good',
			date1:new Date()
		})
	]
}